home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 37 / Amiga Format CD37 (1999-02-16)(Future Publishing)(GB)(Track 1 of 3)[!][issue 1999-03].iso / -screenplay- / otherstuff / swos2etw / swos2etw.h < prev    next >
C/C++ Source or Header  |  1999-01-04  |  2KB  |  108 lines

  1. // SWOS data structs...
  2.  
  3. #define GIOCATORE_PELLE_NERA 0x10
  4. #define GIOCATORE_BIONDO 0x08
  5. #define R_RB    0x20
  6. #define R_LB    0x40
  7. #define R_D    0x60
  8. #define R_RW    0x80
  9. #define R_LW    0xa0
  10. #define R_M    0xc0
  11. #define R_A    0xe0
  12.  
  13. struct SWOS_Player
  14. {
  15.     unsigned char Nation,pad1,Number;
  16.     char Name[23];
  17.     unsigned char Role,pad2;
  18.     unsigned char EmptyPassing,ShotHeading,TackleControl,SpeedFitness;
  19.     char value; // 0-31
  20.     char pads[5];
  21. };
  22.  
  23. #define MAGLIA_UNITA 0
  24. #define MAGLIA_MANICHE 1
  25. #define MAGLIA_RIGHE_VERTICALI 2
  26. #define MAGLIA_RIGHE_ORIZ 3
  27.  
  28. struct SWOS_Shirt
  29. {
  30.     char Type,Shirt1,Shirt2,Pantaloni,Calze;
  31.     
  32. };
  33.  
  34. struct SWOS_Team
  35. {
  36.     char pad[5];
  37.     char TeamName[19];
  38.     char Formation;
  39.     char Division;
  40.     struct SWOS_Shirt Shirts[2];
  41.     char CoachName[25];
  42.     char pad2[15];
  43.     struct SWOS_Player Players[16];
  44. };
  45.  
  46. // ETW data structs
  47.  
  48. #define P_DIFESA    1
  49. #define P_CENTRO    2
  50. #define P_ATTACCO    4
  51. #define P_DESTRO    8
  52. #define P_MANCINO    16
  53. #define P_PELLE_NERA        32
  54.  
  55. #define CAMP_CUP 0
  56. #define CAMP_LEAGUE 1
  57. #define CAMP_WORLDCUP 2
  58. #define CAMP_CHAMPIONSLEAGUE 3
  59.  
  60. struct Maglia
  61. {
  62.     char Tipo;
  63.     char Colore0;
  64.     char Colore1;
  65.     char Colore2;
  66. };
  67.  
  68. struct Giocatore_Disk
  69. {
  70.     char Nome[20];
  71.     char Cognome[20];
  72.     long valore;
  73.     char Numero,Velocita,Contrasto,Tiro;
  74.     char Durata,Resistenza,Prontezza,Nazionalita;
  75.     char Creativita,Tecnica;
  76.     char Eta,Infortuni,Ammonizioni,Posizioni;
  77. };
  78.  
  79. struct Portiere_Disk
  80. {
  81.     char Nome[20];
  82.     char Cognome[20];
  83.     long valore;
  84.     char Numero,Velocita,Parata,Attenzione;
  85.     char Nazionalita,Eta,Infortuni,Flags;
  86. };
  87.  
  88. struct Squadra_Disk
  89. {
  90.     long disponibilita;
  91.     char NumeroGiocatori,NumeroPortieri,Nazione,Flags;
  92.     struct Maglia maglie[2];
  93.     char Tattiche[3][16];
  94.     char nome[52];
  95.     char allenatore[52];
  96.     struct Portiere_Disk portiere[3];
  97.     struct Giocatore_Disk giocatore[21];    
  98. };
  99.  
  100. struct Campionato_Disk
  101. {
  102.     char Nome[64];
  103.     char Tipo, Scontri;
  104.     char Vittoria,Pareggio,Sconfitta; // Punti assegnati nei vari casi
  105.     char NumeroSquadre;
  106. };
  107.  
  108.